//
//  NSData+AES256.h
//  HappyChat
//
//  Created by xiaotong on 2019/9/15.
//  Copyright © 2019 onlysea. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonCryptor.h>
NS_ASSUME_NONNULL_BEGIN

@interface NSData (AES256)
-(NSData *) aes256_encrypt:(NSString *)key;
-(NSData *) aes256_decrypt:(NSString *)key;
@end

NS_ASSUME_NONNULL_END
